<template>
  <div class="footerOuter" :class="{ footer_fixed: props.fixed }">
    <div class="copyright">
      <!-- target="_blank" -->
      <a href="javascript:;">暂时没有</a>
      <div>本系统由 Vue + vite + ElementUi-Plus 提供技术支持</div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { } from 'vue'

const props = defineProps({
  fixed: {
    type: Boolean,
    defaul: false
  }
})

</script>

<style lang="scss" scoped>
.footerOuter {
  width: 100%;
  font-size: 14px;
  margin: 20px 0;
  text-align: center;

  .copyright {
    a {
      display: inline-block;
      color: inherit; // 随主题进行变化
      margin-bottom: 6px;
    }
  }
}

.footer_fixed {
  width: 100%;
  position: fixed;
  bottom: 0px;
  z-index: 1;
  text-align: center;
}
</style>